projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b5e41e8
)
Tune cl-assoc
author
Paul Eggert
<eggert@cs.ucla.edu>
Sun, 2 Jun 2019 01:12:31 +0000
(18:12 -0700)
committer
Paul Eggert
<eggert@cs.ucla.edu>
Sun, 2 Jun 2019 01:13:00 +0000
(18:13 -0700)
* lisp/emacs-lisp/cl-seq.el (cl-assoc): Use assq for fixnums.
lisp/emacs-lisp/cl-seq.el
patch
|
blob
|
history
diff --git
a/lisp/emacs-lisp/cl-seq.el
b/lisp/emacs-lisp/cl-seq.el
index 86a73e19970531825c13a29e8ad56ed50b6dce5e..87c02a6b54f0a1f9bef6ef5c5f51be10056c9c86 100644
(file)
--- a/
lisp/emacs-lisp/cl-seq.el
+++ b/
lisp/emacs-lisp/cl-seq.el
@@
-742,7
+742,7
@@
Return the sublist of LIST whose car matches.
(not (cl--check-test cl-item (car (car cl-alist))))))
(setq cl-alist (cdr cl-alist)))
(and cl-alist (car cl-alist)))
- (if (
numberp cl-item
)
+ (if (
and (numberp cl-item) (not (fixnump cl-item))
)
(assoc cl-item cl-alist)
(assq cl-item cl-alist))))
(autoload 'cl--compiler-macro-assoc "cl-macs")